#pragma once

#include "../LinkedList/LinkedList.h"
template<class T>
class Queue :
	public LinkedList<T>
{
public:

	Queue()
	{
	}

	~Queue()
	{
	}

	void add_queue(T data)
	{
		add_at_head(data);
	}

	T pop_queue()
	{
		T temp;
		temp = tail->data;
		remove(tail);
		return temp;
	}
};

